package com.example.pomelo_home.dto;


import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class OrderDTO {
    private Integer orderId;
    private String activityTitle;
    private String openid;
    private String name;
    private Integer phone;
    private String orderStatus;
    private Double paymentAmount;
    private Date applicationTime;
    private Integer page;
    private Integer size;

    public OrderDTO() {
    }

    public OrderDTO(Integer orderId, String activityTitle, String openid, String name, Integer phone, String orderStatus, Double paymentAmount, Date applicationTime, Integer page, Integer size) {
        this.orderId = orderId;
        this.activityTitle = activityTitle;
        this.openid = openid;
        this.name = name;
        this.phone = phone;
        this.orderStatus = orderStatus;
        this.paymentAmount = paymentAmount;
        this.applicationTime = applicationTime;
        this.page = page;
        this.size = size;
    }

    @Override
    public String toString() {
        return "OrderDTO{" +
                "orderId=" + orderId +
                ", activityTitle='" + activityTitle + '\'' +
                ", openid='" + openid + '\'' +
                ", name='" + name + '\'' +
                ", phone=" + phone +
                ", orderStatus='" + orderStatus + '\'' +
                ", paymentAmount=" + paymentAmount +
                ", applicationTime=" + applicationTime +
                ", page=" + page +
                ", size=" + size +
                '}';
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getActivityTitle() {
        return activityTitle;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Double getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(Double paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public Date getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Date applicationTime) {
        this.applicationTime = applicationTime;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
